// 引入axios（axios进行二次封装）
import request from '@/utils/request'

// 获取品牌列表接口
export const reqSkuList = (page, limit) => request({
    url: `/admin/product/list/${page}/${limit}`,
    method: 'GET'
}); 


// 上架
export const reqSale = (skuId) => request({
    url: `/admin/product/onSale/${skuId}`,
    method:"GET"
})

// 下架
export const reqCancel = (skuId) => request({
    url: `/admin/product/cancelSale/${skuId}`,
    method:"GET"
})